Displaying 12 results from an estimated 12 matches for "importdata".
2011 Sep 28
1
using the system command
Hi,
I started playing around with a function for using StatTransfer (version
10) for importing data. This started as a simple task but it's not
working and so now I'm very frustrated. I'm using R version 2.13 on
Windows 7.
The function, called fn.importData, is:
function(file = NULL, type = NULL){
##
## create statTransfer command file - stcmd
##
ext <- switch(type, sas = "sas7bdat", excel = "xls")
tmp <- paste("copy C:\\Temp\\", file, &quo...
2009 Nov 02
3
problems with read.csv
Dear all,
I''d like to ask help on R code to get the same results as the following
Splus code:
>indata<-importData("/home/data_new.csv")
>indata[1:5,4]
[1] 0930 1601 1006 1032 1020
I tried the following R code:
> indata<-read.csv("/home/data_new.csv")
> indata[1:5,4]
[1] 930 1601 1006 1032 1020
I''d like the first one to be 0930, too.
Thanks in adv...
2012 Sep 18
0
[LLVMdev] Cannot import LLVM test-suite results to the database using LNT tool
...lvm.svn \
--llvm-obj=$PWD/llvm.bld \
-j4 --cflag="-march=core2" --mcpu=core2
]]
The test suite runs fine but import is failed:
[[
Importing 'tmp9UX1UC.json'
Import Failed:
--
import failure: Traceback (most recent call last):
File "/home/simon/work/lnt.svn/lnt/util/ImportData.py", line 74, in
import_and_report
success,run = db.importDataFromDict(data, config=db_config)
File "/home/simon/work/lnt.svn/lnt/server/db/v4db.py", line 161, in
importDataFromDict
db_name)
ValueError: test suite u'nightlytest' not present in this database!
--
]]...
2013 Jun 10
1
[LLVMdev] Cannot submit LLVM test-suite results to the database using LNT tool
...ng information:
2013-06-10 09:51:30: submitting result to 'db'
No handlers could be found for logger "lnt.server.db.migrate"
Importing 'tmpmHD4sN.json'
Import Failed:
--
import failure: Traceback (most recent call last):
File "/home/star/projects/llvm/lnt/lnt/util/ImportData.py", line 74, in import_and_report
success,run = db.importDataFromDict(data, config=db_config)
File "/home/star/projects/llvm/lnt/lnt/server/db/v4db.py", line 163, in importDataFromDict
db_name)
ValueError: test suite u'nightlytest' not present in this database!
H...
2007 Mar 09
6
R and clinical studies
Does anyone know if for clinical studies the FDA would accept
statistical analyses performed with R ?
Delphine Fontaine
2008 Sep 04
1
text file imported incorrectly
Dear R-users,
When I tried to import a text file (tab delimited) which has 2000+ rows with the following command (With the importData in S, it works though),
x <- read.table(textfile, sep= "\t", skip=5, stringAsFactors=F)
I received the following warning message: Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,: number of items read is not a multiple of the number of columns. I checked the...
2004 Nov 16
0
Please help using SQL with R & SQL Server
I cannot get a database connection in R to my MS SQL Server database. In
S-Plus 6.2 I have used the following successfully:
rawdata <- importData(type="DIRECT-SQL", user="xfl2",
password="xfl2", server="rinnycs0059", database="xf", table="",
sqlQuery="select * from testTbl")
In R I have tried both DBI and RSQLite, but have not had any luck. It
always says cannot find dri...
2004 Nov 18
2
Informix database
We use Informix database. I was able to connect to the database with
S-PLUS by using its CONNECT/Java through the JDBC driver.
How can I connect to Informix with R, wither using JDBC or any other
method? we run Linux so I prefer a method other than ODBC.
Thankx for the help
2009 Feb 03
2
Numeric class and sasxport.get
Dear R-users,
The sasxport.get function (from the Hmisc package) automatically defines
the class of imported variables. I have noticed that the class of
theoretically numeric variables is simply "labelled", although character
variables might end up been defined as "labelled" "Date" or "labelled"
"factor".
Is there a way to tell sasxport.get to
2003 Apr 24
1
"Missing links": Hmisc and Design docs
...text html latex example
missing link(s): ols validate predab.resample nomogram
transcan text html latex example
missing link(s): mice
upData text html latex example
missing link(s): importData exportData timeDate format.timeDate
varclus text html latex example
missing link(s): na.pattern
xYplot text html latex example
missing link(s): trellis error.bar axis.time
sas.get text...
2010 Oct 28
2
R and Matlab
Dear Group,
I am looking for ways to use R and Matlab. Doing the data transformations in
R and using the data in Matlab to analyze with some pre-defined scripts.
Any good ways to transfer the data into matlab in its most recent version?
I tried using R.matlab but the writeMat output is not readable by Matlab.
I just need to output a data.frame and read it as is into matlab where I can
do any
2006 Feb 19
2
Converting factors back to numbers. Trouble with SPSS import data
I'm using Fedora Core 4, R-2.2.
The basic question is: can one recover the numerical values used in
SPSS after importing data into R with read.spss from the foreign
library? Here's why I ask.
My colleague sent an SPSS data set. I must replicate some results she
calculated in SPSS and one problem is that the numbers used in SPSS
for variable values are not easily recovered in R.
I'm