~ubuntu-branches/debian/sid/rkward/sid

« back to all changes in this revision

Viewing changes to tests/import_export_plugins/RKTestStandard.import_csv.rkcommands.R

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2011-10-23 15:30:00 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20111023153000-3gutwgotykvcm67s
Tags: 0.5.7-1
* new upstream release
* provide build-arch and build-indep targets
* include buildflags as instructed by the dpkg developers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
local({
2
 
## Prepare
3
 
## Compute
4
 
imported <- read.csv (file="women.csv", row.names=1,  na.strings = "NA", nrows = -1, skip = 0, check.names = TRUE, strip.white = FALSE, blank.lines.skip = TRUE)
5
 
 
6
 
# copy from the local environment to globalenv()
7
 
.GlobalEnv$women <- imported
8
 
## Print result
9
 
rk.header("Import text / csv data", parameters=list("File", "women.csv",
10
 
        "Import as", "women"))
11
 
})
12
 
.rk.rerun.plugin.link(plugin="rkward::import_csv", settings="allow_escapes.state=\nblanklinesskip.state=TRUE\ncheckname.state=TRUE\ncolclass.string=\ncolname.string=\ndec.string='.'\ndoedit.state=0\nfile.selection=women.csv\nflush.state=\nna.text=NA\nname.objectname=women\nname.parent=.GlobalEnv\nnomrow.text=1\nnrows.text=-1\nquick.string=csv\nquote.string='\\\\\\\"'\nrowname.string=rowcol\nsep.string=','\nskip.text=0\nstrings_as_factors.string=\nstripwhite.state=FALSE", label="Run again")
13
 
.rk.make.hr()