The R Project SVN R

Rev

Rev 87852 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87852 Rev 87860
Line 163... Line 163...
163
		Rp->LoadSiteFile = FALSE;
163
		Rp->LoadSiteFile = FALSE;
164
	    }
164
	    }
165
	    else if (!strcmp(*av, "--no-init-file")) {
165
	    else if (!strcmp(*av, "--no-init-file")) {
166
		Rp->LoadInitFile = FALSE;
166
		Rp->LoadInitFile = FALSE;
167
	    }
167
	    }
168
	    // Undocumented and unused.
168
	    /* Undocumented and unused.
169
	    else if (!strcmp(*av, "--debug-init")) {
169
	     else if (!strcmp(*av, "--debug-init")) {
170
		Rp->DebugInitFile = TRUE;
170
	    	Rp->DebugInitFile = TRUE;
171
	    }
171
	     */
172
	    else if (!strncmp(*av, "--encoding", 10)) {
172
	    else if (!strncmp(*av, "--encoding", 10)) {
173
		if(strlen(*av) < 12) {
173
		if(strlen(*av) < 12) {
174
		    if(ac > 1) {ac--; av++; p = *av;} else p = NULL;
174
		    if(ac > 1) {ac--; av++; p = *av;} else p = NULL;
175
		} else p = &(*av)[11];
175
		} else p = &(*av)[11];
176
		if (p == NULL) {
176
		if (p == NULL) {