Displaying 6 results from an estimated 6 matches for "getcharc".
Did you mean:
getchar
2011 Dec 20
1
RODBC Error: 'getCharCE' must be called on a CHARSXP
...quot;)
txt<-'SELECT Date, Region, Price FROM TableXYZ WHERE Type="Domestic"'
sqlQuery(channel, cat(txt,"\n"),errors=TRUE,)
close(channel)
However, I get the following error immediately after sqlQuery command:
Error in odbcQuery(channel, query, rows_at_time) :
'getCharCE' must be called on a CHARSXP
I believe my connection is good because I used the following commands to successfully view the columns:
sqlColumns(channel, TableXYZ)
There doesn't seem to be much info on "getCharCE" and/or "CHARSXP. Any guidance the group could provide this...
2012 Feb 16
1
Unstable reproduce for potential issue with CHARSXP creation
...sessions, but it sometimes takes a few start up R ->
run code -> close R iterations for the error to show itself.
> x <- data.frame("X1" = 1)
> colnames(x) <- sub("foo", "bar", colnames(x))
> terms(~ ., x)
Error in terms.formula(~., x) : 'getCharCE' must be called on a CHARSXP
> y <- data.frame("X1" = 1)
> colnames(y) <- sub("X", "NEWX", colnames(y))
> terms(~ ., y)
Error in terms.formula(~., y) : 'getCharCE' must be called on a CHARSXP
> sessionInfo()
R Under development (unsta...
2017 Aug 23
2
Error "translateCharUTF8' must be called on a CHARSXP Execution halted"
...changing it to
files <- list.files(path = "/home/username/directory_name/", pattern = "*.Rda",, full.names = T, recursive = FALSE)
might work, might not work and return the same error, or might execute but when I then type "files" that might return
[1]Error: 'getCharCE' must be called on a CHARSXP
The sessionInfo commmand gives me:
sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server 7.3 (Maipo)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8...
2017 Aug 23
0
Error "translateCharUTF8' must be called on a CHARSXP Execution halted"
...les <- list.files(path = "/home/username/directory_name/", pattern = "*.Rda",, full.names = T, recursive = FALSE)
>
> might work, might not work and return the same error, or might execute but when I then type "files" that might return
>
> [1]Error: 'getCharCE' must be called on a CHARSXP
>
> The sessionInfo commmand gives me:
> sessionInfo()
> R version 3.3.2 (2016-10-31)
> Platform: x86_64-redhat-linux-gnu (64-bit)
> Running under: Red Hat Enterprise Linux Server 7.3 (Maipo)
>
> locale:
> [1] LC_CTYPE=en_US.UTF-8 L...
2008 Apr 22
3
R 2.7.0 is released
...tines are available (and declared in R_Ext/Lapack.h),
notably for (reciprocal) condition number estimation of complex
matrices.
o Experimental utility R_has_slot supplementing R_do_slot.
o There is a new public interface to the encoding info stored on
CHARSXPs, getCharCE and mkCharCE using the enumeration type
cetype_t.
o A new header 'R_ext/Visibility.h' contains some definitions for
controlling the visibility of entry points, and how to control
visibility is now documented in 'Writing R Extensions'.
BUG FIXES...
2008 Apr 22
3
R 2.7.0 is released
...tines are available (and declared in R_Ext/Lapack.h),
notably for (reciprocal) condition number estimation of complex
matrices.
o Experimental utility R_has_slot supplementing R_do_slot.
o There is a new public interface to the encoding info stored on
CHARSXPs, getCharCE and mkCharCE using the enumeration type
cetype_t.
o A new header 'R_ext/Visibility.h' contains some definitions for
controlling the visibility of entry points, and how to control
visibility is now documented in 'Writing R Extensions'.
BUG FIXES...