Thanks I tried it with your values and it works, but when I try it with my
values, plugging in "just" (not sure if i'm doing it right):    

> as.numeric(gsub("\\$", "", ("just"))) 

This is what I get:

[1] NA
Warning message:
NAs introduced by coercion 

Btw here are the values im wokring with under "just"

 [1] $23,060  $124,800 $125,000 $28,140  $24,000  $23,400  $24,000  $149,720
$92,000  $35,000  $35,430  $40,100  $10,000  $25,000 
Levels: $10,000 $124,800 $125,000 $149,720 $23,060 $23,400 $24,000 $25,000
$28,140 $35,000 $35,430 $40,100 $92,000
-- 
View this message in context: 
http://n4.nabble.com/read-numeric-values-with-thousands-seperator-from-csv-file-tp1477704p1753432.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to